<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
	<head>

		<title>My JSP 'index.jsp' starting page</title>
	</head>

	<body>
		This is my JSP page.
		<br>
		<s:form action="update">
			<table>
				<tr>
					<td>
						<s:hidden name="user.id" value="%{user.id}"></s:hidden>
					</td>
				</tr>
				<tr>
					<td>
						<s:textfield name="user.firstname" value="%{user.firstname}"
							label="lastname"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						<s:textfield name="user.lastname" value="%{user.lastname}"
							label="firstname"></s:textfield>
					</td>
				</tr>
				<tr>
					<td>
						<s:submit></s:submit>
					</td>
				</tr>
				<tr>
			</table>
		</s:form>
		<s:a href="index.jsp">return</s:a>
	</body>
</html>
